﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_GetRole]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_GetRole];
GO
CREATE PROCEDURE [dbo].[sproc_GetRole]
/*

======================================================================
功能:    得到所有的角色
参数:
    无
======================================================================

*/
AS
BEGIN
SET NOCOUNT ON

select * from dbo.UDS_Role order by Role_ID asc;

END
GO